<template>
	<view>
		<view v-for="item in img" :kye='item.name'>
			<view class="atlas_text">
				{{item.name}}
			</view>
			<view class="atlas_box">
				<view class="atlas_imgbox" v-for="item in item.err" :key="item" >
					<image class="atlas_img" :src="item.src"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				img: [
					{
						name: "门店头图",
						err:[
							{
							     id:'2',
							     src:require("../../static/images/ymy/A33/A_33IMG (7).jpg")
							 },
							 {
							      id:'3',
							      src:require("../../static/images/ymy/A33/A_33IMG (7).jpg")
							  },
							  {
							       id:'4',
							       src:require("../../static/images/ymy/A33/A_33IMG (7).jpg")
							   },
							   {
							        id:'5',
							        src:require("../../static/images/ymy/A33/A_33IMG (7).jpg")
							    },
							 ] 
				},
				{
					name: "环境展示",
					err: [
						{
						     id:'6',
						     src:require("../../static/images/ymy/A33/A_33IMG (7).jpg")
						 },
						 {
						      id:'7',
						      src:require("../../static/images/ymy/A33/A_33IMG (7).jpg")
						  },
					]
				},
				]
			}
		}
	}
</script>

<style>
	.atlas_box{
		display: flex;
		flex-wrap:wrap;
		justify-content: space-between;
		margin: 20rpx 40rpx;
	}
	.atlas_text {
		width: 112rpx;
		height: 40rpx;
		margin: 10rpx 0 0 40rpx ;
		font-family: PingFang SC;
		font-size: 28rpx;
		font-weight: bold;
		font-stretch: normal;
		line-height: 40rpx;
		letter-spacing: 0rpx;
		color: #232323;
	}
	.atlas_imgbox{
		width: 328rpx;
		height: 188rpx;
		background-color: #007AFF;
		margin: 8rpx 0rpx;
		border-radius: 8rpx;
	}
	.atlas_img {
		width: 328rpx;
		height: 188rpx;
		border-radius: 8rpx;
	}
</style>
